<%@ page import="com.itheima.domain.Student" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>EL表达式获取不同的类型数据</title>
</head>
    <body>

        <%
            Student stu = new Student("zhangsan","23");

            pageContext.setAttribute("s",stu);
        %>

    stu:${s}


    <%
        String [] str = {"a","b"};

        pageContext.setAttribute("str",str);
    %>
    <%--此处的+代表的是算数运算--%>
    arr:${str[0]+str[1]} <br/>


    </body>
</html>
